home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / Projects / Tutorial Material / Zone Tutorial / Structure Notes / 5. Tonality Structure 1 < prev    next >
Lisp/Scheme  |  1998-10-26  |  1KB  |  48 lines

  1. Tonality Structure - the conventional approach 
  2.  
  3. A tonality definition is made by listing the tonalities to be used in 
  4. the piece.
  5.  
  6. (setq tonals 
  7.       (activate-tonality (chromatic c 4) (major c 4) (c maj maj7 2 4) 
  8.                          (b& min 7 1 3) aeolian f 3)))
  9.  
  10. In the Timesheet format, tonality is controlled by creating a 
  11. sequence of tonality changes marked as dots in the definition string. 
  12.  
  13. (compile-song-p "ccl;output:" 1/4 "score"
  14. ; BARS            |---|---|---|---| 
  15. changes  tonals  "    .   . . .   "
  16. solo     changes "----------------"
  17. )
  18.  
  19. In the Zone Control system, tonality changes concurrently with 
  20. zone lengths. Here is the equivalent tonality change sequence 
  21. n zone lengths:
  22.  
  23. (def-tonality
  24.   solo tonals
  25. )
  26.  
  27. (def-zone
  28.   solo '(1/1 1/1 1/2 1/2 1/1)
  29. )
  30.  
  31. (compile-instrument-p "ccl;output:"  separate
  32.   solo
  33. )
  34.  
  35. If the zone lengths have minus values, the instrument part is 
  36. muted for that zone length. Try this alternative to the previous
  37. example. Can you predict what will happen to the tonality 
  38. changes?
  39.  
  40. (def-zone
  41.   solo '(3/4 -1/4  1/2 -1/4 1/4 -1/4  1/2  1/1)
  42. )
  43.  
  44. Of course, this plays havoc with the original sequence of  tonality
  45.  changes. But the idea can be used effectively when there is a single
  46.  tonality present or when the tonalities do not so much change key 
  47. as move pitch region. 
  48.